# god 正在运行, terminate 后重启
god -p 17046 status  && echo 'God is active, now god.terminate.' && god -p 17046 terminate && echo 'God is terminated, now god.init with config file.' && god -p 17046 -c /var/www/estate/config/god.rb -l /var/www/estate/log/god.log ||
# god 没有运行, 启动
echo 'God is terminated, now god.init with config file.' && god -p 17046 -c /var/www/estate/config/god.rb -l /var/www/estate/log/god.log